using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MangaDownloader
{
    public partial class FormChangeMangaName : Form
    {
        private string _mangaName;

        public string MangaName
        {
            get { return _mangaName; }
            set { _mangaName = value; }
        }

        public FormChangeMangaName(string mangaName)
        {
            InitializeComponent();
            _mangaName = mangaName;
        }

        private void FormChangeMangaName_Load(object sender, EventArgs e)
        {
            txtMangaName.Text = _mangaName;
        }

        private void btnChangeMangaName_Click(object sender, EventArgs e)
        {
            _mangaName = txtMangaName.Text.Trim();
        }
    }
}